package com.easymeeting.mappers;

import org.apache.ibatis.annotations.Param;

/**
 * 会议聊天信息 数据库操作接口
 */
public interface MeetingChatMessageMapper<T, P> extends BaseMapperTableSplit<T, P> {

    /**
     * 根据MessageId更新
     */
    Integer updateByMessageId(@Param("tableName") String tableName, @Param("bean") T t, @Param("messageId") Long messageId);


    /**
     * 根据MessageId删除
     */
    Integer deleteByMessageId(@Param("tableName") String tableName, @Param("messageId") Long messageId);


    /**
     * 根据MessageId获取对象
     */
    T selectByMessageId(@Param("tableName") String tableName, @Param("messageId") Long messageId);


}
